package com.urea.system.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.urea.common.annotation.Excel;
import com.urea.common.core.domain.BaseEntity;

/**
 * 充值套餐对象 t_recharge_package
 * 
 * @author liuzd
 * @date 2023-08-01
 */
@TableName("t_recharge_package")
@Data
@ToString
@ApiModel("充值信息")
public class RechargePackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 套餐名称;"" */
    @Excel(name = "套餐名称")
    @ApiModelProperty(value = "套餐名称")
    private String name;

    /** 充值金额;0 */
    @Excel(name = "充值金额;0")
    @ApiModelProperty(value = "充值金额")
    private BigDecimal rechargeAmount;

    /** 赠送金额;0 */
    @Excel(name = "赠送金额;0")
    @ApiModelProperty(value = "赠送金额")
    private BigDecimal giftAmount;

    /** 套装状态;0未激活，1激活 */
    @Excel(name = "套装状态;0未激活，1激活")
    @ApiModelProperty(value = "套装状态;0未激活，1激活")
    private String status;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @ApiModelProperty(value = "备注")
    private String remark;
}
